package com.ludomancy.gamelib.entity;


public class EntityClassFilter implements EntityFilter
{
	private Class clazz;
	public EntityClassFilter(Class clazz)
	{
		this.clazz = clazz;
	}
	
	public boolean accepts(Entity e)
	{
		return clazz.isInstance(e);
	}
}